package com.IT.dao;
import com.IT.pojo.Student;
import com.IT.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeacherMapper{


    @Select("select * from teacher where id = #{tid}")
    Teacher getTeacher(@Param("tid") int id);
    public List<Student> getStudent();

}
